#pragma once
#include <iostream>
#include <QImage>

namespace qbe::tools{

struct GrpcResponse{
    int32_t code;
    std::string message;
    std::string data;
    GrpcResponse(int32_t _code, std::string _message, std::string _data){
      code = _code;
      message = _message;
      data = _data;
    }
    GrpcResponse(){}
};

class GrpcInterfaceObjcet{
 public:
  std::function<void()> initOffSet;
  std::function<GrpcResponse(std::string)> offsetFunc;
};
}  // namespace qbe::select